package cn.shengchao.examstar.rpc.orders.api;

import cn.shengchao.examstar.rpc.base.PageResult;
import cn.shengchao.examstar.rpc.orders.req.*;

import java.util.List;

/**
 * @program: examstarapi
 * @description: 新订单查询
 * @author: Xiong weiqiang
 * @create: 2025-06-12 15:44
 */
public interface IOrderViewQueryRpc {
    PageResult<OrderWithSupplierView> pageList(OrderWithSupplierPageQuery orderWithSupplierPageQuery);
    List<SubOrderWithSupplierView> subOrderListForOrderId(Long orderId);

    PageResult<SubOrderWithSupplierView> subOrderPageFromMainOrder(SubOrderForMainPageQuery subOrderForMainPageQuery);
    PageResult<SubOrderWithSupplierView> subOrderPageList(SubOrderWithSupplierPageQuery subOrderWithSupplierPageQuery);
}